/**
 * User: dizemding
 * Time: 11-7-21 下午2:30
 */
$(function() {
	$("#dialog-order").dialog({
		autoOpen: false,
		height: 500,
		width: 760,
		modal: true,
		show:"clip",
		hide:"blind",
		buttons: {
			"确认": function() {
				$('#order-form :submit').click();
				alert("购买成功")
			},
			"关闭": function() {
				$(this).dialog('close');
			}
		}
	});
});